param($installPath, $toolsPath, $package, $project)

$file = $project.ProjectItems.Item("MConfig.config")

# set 'Copy To Output Directory' to 'Copy if newer'
# 1:Always
# 2:Copy if newer
# 3:Never
$file.Properties.Item("CopyToOutputDirectory").Value = 2

# set 'Build Action' to 'Content'
# 0:None
# 1:Compile
# 2:Content
# 3:Embedded Resource
$file.Properties.Item("BuildAction").Value = 2
